3.224 \(\int (e \cos (c+d x))^{3/2} (a+a \sin (c+d x))^4 \, dx\)

Optimal. Leaf size=210 \[ \frac{442 a^4 e^2 \sqrt{\cos (c+d x)} F\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{231 d \sqrt{e \cos (c+d x)}}-\frac{442 a^4 (e \cos (c+d x))^{5/2}}{385 d e}+\frac{442 a^4 e \sin (c+d x) \sqrt{e \cos (c+d x)}}{231 d}-\frac{34 \left (a^2 \sin (c+d x)+a^2\right )^2 (e \cos (c+d x))^{5/2}}{99 d e}-\frac{442 \left (a^4 \sin (c+d x)+a^4\right ) (e \cos (c+d x))^{5/2}}{693 d e}-\frac{2 a (a \sin (c+d x)+a)^3 (e \cos (c+d x))^{5/2}}{11 d e} \]

[Out]

(-442*a^4*(e*Cos[c + d*x])^(5/2))/(385*d*e) + (442*a^4*e^2*Sqrt[Cos[c + d*x]]*EllipticF[(c + d*x)/2, 2])/(231*
d*Sqrt[e*Cos[c + d*x]]) + (442*a^4*e*Sqrt[e*Cos[c + d*x]]*Sin[c + d*x])/(231*d) - (2*a*(e*Cos[c + d*x])^(5/2)*
(a + a*Sin[c + d*x])^3)/(11*d*e) - (34*(e*Cos[c + d*x])^(5/2)*(a^2 + a^2*Sin[c + d*x])^2)/(99*d*e) - (442*(e*C
os[c + d*x])^(5/2)*(a^4 + a^4*Sin[c + d*x]))/(693*d*e)

________________________________________________________________________________________

Rubi [A]  time = 0.247785, antiderivative size = 210, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 5, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {2678, 2669, 2635, 2642, 2641} \[ \frac{442 a^4 e^2 \sqrt{\cos (c+d x)} F\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{231 d \sqrt{e \cos (c+d x)}}-\frac{442 a^4 (e \cos (c+d x))^{5/2}}{385 d e}+\frac{442 a^4 e \sin (c+d x) \sqrt{e \cos (c+d x)}}{231 d}-\frac{34 \left (a^2 \sin (c+d x)+a^2\right )^2 (e \cos (c+d x))^{5/2}}{99 d e}-\frac{442 \left (a^4 \sin (c+d x)+a^4\right ) (e \cos (c+d x))^{5/2}}{693 d e}-\frac{2 a (a \sin (c+d x)+a)^3 (e \cos (c+d x))^{5/2}}{11 d e} \]

Antiderivative was successfully verified.

[In]

Int[(e*Cos[c + d*x])^(3/2)*(a + a*Sin[c + d*x])^4,x]

[Out]

(-442*a^4*(e*Cos[c + d*x])^(5/2))/(385*d*e) + (442*a^4*e^2*Sqrt[Cos[c + d*x]]*EllipticF[(c + d*x)/2, 2])/(231*
d*Sqrt[e*Cos[c + d*x]]) + (442*a^4*e*Sqrt[e*Cos[c + d*x]]*Sin[c + d*x])/(231*d) - (2*a*(e*Cos[c + d*x])^(5/2)*
(a + a*Sin[c + d*x])^3)/(11*d*e) - (34*(e*Cos[c + d*x])^(5/2)*(a^2 + a^2*Sin[c + d*x])^2)/(99*d*e) - (442*(e*C
os[c + d*x])^(5/2)*(a^4 + a^4*Sin[c + d*x]))/(693*d*e)

Rule 2678

Int[(cos[(e_.) + (f_.)*(x_)]*(g_.))^(p_)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_), x_Symbol] :> -Simp[(b*(g
*Cos[e + f*x])^(p + 1)*(a + b*Sin[e + f*x])^(m - 1))/(f*g*(m + p)), x] + Dist[(a*(2*m + p - 1))/(m + p), Int[(
g*Cos[e + f*x])^p*(a + b*Sin[e + f*x])^(m - 1), x], x] /; FreeQ[{a, b, e, f, g, m, p}, x] && EqQ[a^2 - b^2, 0]
 && GtQ[m, 0] && NeQ[m + p, 0] && IntegersQ[2*m, 2*p]

Rule 2669

Int[(cos[(e_.) + (f_.)*(x_)]*(g_.))^(p_)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]), x_Symbol] :> -Simp[(b*(g*Cos[
e + f*x])^(p + 1))/(f*g*(p + 1)), x] + Dist[a, Int[(g*Cos[e + f*x])^p, x], x] /; FreeQ[{a, b, e, f, g, p}, x]
&& (IntegerQ[2*p] || NeQ[a^2 - b^2, 0])

Rule 2635

Int[((b_.)*sin[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> -Simp[(b*Cos[c + d*x]*(b*Sin[c + d*x])^(n - 1))/(d*n),
x] + Dist[(b^2*(n - 1))/n, Int[(b*Sin[c + d*x])^(n - 2), x], x] /; FreeQ[{b, c, d}, x] && GtQ[n, 1] && Integer
Q[2*n]

Rule 2642

Int[1/Sqrt[(b_)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Dist[Sqrt[Sin[c + d*x]]/Sqrt[b*Sin[c + d*x]], Int[1/Sqr
t[Sin[c + d*x]], x], x] /; FreeQ[{b, c, d}, x]

Rule 2641

Int[1/Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2*EllipticF[(1*(c - Pi/2 + d*x))/2, 2])/d, x] /; FreeQ
[{c, d}, x]

Rubi steps

\begin{align*} \int (e \cos (c+d x))^{3/2} (a+a \sin (c+d x))^4 \, dx &=-\frac{2 a (e \cos (c+d x))^{5/2} (a+a \sin (c+d x))^3}{11 d e}+\frac{1}{11} (17 a) \int (e \cos (c+d x))^{3/2} (a+a \sin (c+d x))^3 \, dx\\ &=-\frac{2 a (e \cos (c+d x))^{5/2} (a+a \sin (c+d x))^3}{11 d e}-\frac{34 (e \cos (c+d x))^{5/2} \left (a^2+a^2 \sin (c+d x)\right )^2}{99 d e}+\frac{1}{99} \left (221 a^2\right ) \int (e \cos (c+d x))^{3/2} (a+a \sin (c+d x))^2 \, dx\\ &=-\frac{2 a (e \cos (c+d x))^{5/2} (a+a \sin (c+d x))^3}{11 d e}-\frac{34 (e \cos (c+d x))^{5/2} \left (a^2+a^2 \sin (c+d x)\right )^2}{99 d e}-\frac{442 (e \cos (c+d x))^{5/2} \left (a^4+a^4 \sin (c+d x)\right )}{693 d e}+\frac{1}{77} \left (221 a^3\right ) \int (e \cos (c+d x))^{3/2} (a+a \sin (c+d x)) \, dx\\ &=-\frac{442 a^4 (e \cos (c+d x))^{5/2}}{385 d e}-\frac{2 a (e \cos (c+d x))^{5/2} (a+a \sin (c+d x))^3}{11 d e}-\frac{34 (e \cos (c+d x))^{5/2} \left (a^2+a^2 \sin (c+d x)\right )^2}{99 d e}-\frac{442 (e \cos (c+d x))^{5/2} \left (a^4+a^4 \sin (c+d x)\right )}{693 d e}+\frac{1}{77} \left (221 a^4\right ) \int (e \cos (c+d x))^{3/2} \, dx\\ &=-\frac{442 a^4 (e \cos (c+d x))^{5/2}}{385 d e}+\frac{442 a^4 e \sqrt{e \cos (c+d x)} \sin (c+d x)}{231 d}-\frac{2 a (e \cos (c+d x))^{5/2} (a+a \sin (c+d x))^3}{11 d e}-\frac{34 (e \cos (c+d x))^{5/2} \left (a^2+a^2 \sin (c+d x)\right )^2}{99 d e}-\frac{442 (e \cos (c+d x))^{5/2} \left (a^4+a^4 \sin (c+d x)\right )}{693 d e}+\frac{1}{231} \left (221 a^4 e^2\right ) \int \frac{1}{\sqrt{e \cos (c+d x)}} \, dx\\ &=-\frac{442 a^4 (e \cos (c+d x))^{5/2}}{385 d e}+\frac{442 a^4 e \sqrt{e \cos (c+d x)} \sin (c+d x)}{231 d}-\frac{2 a (e \cos (c+d x))^{5/2} (a+a \sin (c+d x))^3}{11 d e}-\frac{34 (e \cos (c+d x))^{5/2} \left (a^2+a^2 \sin (c+d x)\right )^2}{99 d e}-\frac{442 (e \cos (c+d x))^{5/2} \left (a^4+a^4 \sin (c+d x)\right )}{693 d e}+\frac{\left (221 a^4 e^2 \sqrt{\cos (c+d x)}\right ) \int \frac{1}{\sqrt{\cos (c+d x)}} \, dx}{231 \sqrt{e \cos (c+d x)}}\\ &=-\frac{442 a^4 (e \cos (c+d x))^{5/2}}{385 d e}+\frac{442 a^4 e^2 \sqrt{\cos (c+d x)} F\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{231 d \sqrt{e \cos (c+d x)}}+\frac{442 a^4 e \sqrt{e \cos (c+d x)} \sin (c+d x)}{231 d}-\frac{2 a (e \cos (c+d x))^{5/2} (a+a \sin (c+d x))^3}{11 d e}-\frac{34 (e \cos (c+d x))^{5/2} \left (a^2+a^2 \sin (c+d x)\right )^2}{99 d e}-\frac{442 (e \cos (c+d x))^{5/2} \left (a^4+a^4 \sin (c+d x)\right )}{693 d e}\\ \end{align*}

Mathematica [C]  time = 0.103337, size = 66, normalized size = 0.31 \[ -\frac{64 \sqrt [4]{2} a^4 (e \cos (c+d x))^{5/2} \, _2F_1\left (-\frac{17}{4},\frac{5}{4};\frac{9}{4};\frac{1}{2} (1-\sin (c+d x))\right )}{5 d e (\sin (c+d x)+1)^{5/4}} \]

Antiderivative was successfully verified.

[In]

Integrate[(e*Cos[c + d*x])^(3/2)*(a + a*Sin[c + d*x])^4,x]

[Out]

(-64*2^(1/4)*a^4*(e*Cos[c + d*x])^(5/2)*Hypergeometric2F1[-17/4, 5/4, 9/4, (1 - Sin[c + d*x])/2])/(5*d*e*(1 +
Sin[c + d*x])^(5/4))

________________________________________________________________________________________

Maple [A]  time = 0.504, size = 295, normalized size = 1.4 \begin{align*} -{\frac{2\,{a}^{4}{e}^{2}}{3465\,d} \left ( 20160\,\cos \left ( 1/2\,dx+c/2 \right ) \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{12}-50400\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{10}\cos \left ( 1/2\,dx+c/2 \right ) +49280\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{11}-6480\,\cos \left ( 1/2\,dx+c/2 \right ) \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{8}-123200\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{9}+60120\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{6}\cos \left ( 1/2\,dx+c/2 \right ) +78848\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{7}-23100\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{4}\cos \left ( 1/2\,dx+c/2 \right ) +4928\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{5}+3315\,\sqrt{2\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}-1}\sqrt{ \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}}{\it EllipticF} \left ( \cos \left ( 1/2\,dx+c/2 \right ) ,\sqrt{2} \right ) -150\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}\cos \left ( 1/2\,dx+c/2 \right ) -17864\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{3}+4004\,\sin \left ( 1/2\,dx+c/2 \right ) \right ) \left ( \sin \left ({\frac{dx}{2}}+{\frac{c}{2}} \right ) \right ) ^{-1}{\frac{1}{\sqrt{-2\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}e+e}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e*cos(d*x+c))^(3/2)*(a+a*sin(d*x+c))^4,x)

[Out]

-2/3465/sin(1/2*d*x+1/2*c)/(-2*sin(1/2*d*x+1/2*c)^2*e+e)^(1/2)*a^4*e^2*(20160*cos(1/2*d*x+1/2*c)*sin(1/2*d*x+1
/2*c)^12-50400*sin(1/2*d*x+1/2*c)^10*cos(1/2*d*x+1/2*c)+49280*sin(1/2*d*x+1/2*c)^11-6480*cos(1/2*d*x+1/2*c)*si
n(1/2*d*x+1/2*c)^8-123200*sin(1/2*d*x+1/2*c)^9+60120*sin(1/2*d*x+1/2*c)^6*cos(1/2*d*x+1/2*c)+78848*sin(1/2*d*x
+1/2*c)^7-23100*sin(1/2*d*x+1/2*c)^4*cos(1/2*d*x+1/2*c)+4928*sin(1/2*d*x+1/2*c)^5+3315*(2*sin(1/2*d*x+1/2*c)^2
-1)^(1/2)*(sin(1/2*d*x+1/2*c)^2)^(1/2)*EllipticF(cos(1/2*d*x+1/2*c),2^(1/2))-150*sin(1/2*d*x+1/2*c)^2*cos(1/2*
d*x+1/2*c)-17864*sin(1/2*d*x+1/2*c)^3+4004*sin(1/2*d*x+1/2*c))/d

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (e \cos \left (d x + c\right )\right )^{\frac{3}{2}}{\left (a \sin \left (d x + c\right ) + a\right )}^{4}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*cos(d*x+c))^(3/2)*(a+a*sin(d*x+c))^4,x, algorithm="maxima")

[Out]

integrate((e*cos(d*x + c))^(3/2)*(a*sin(d*x + c) + a)^4, x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (a^{4} e \cos \left (d x + c\right )^{5} - 8 \, a^{4} e \cos \left (d x + c\right )^{3} + 8 \, a^{4} e \cos \left (d x + c\right ) - 4 \,{\left (a^{4} e \cos \left (d x + c\right )^{3} - 2 \, a^{4} e \cos \left (d x + c\right )\right )} \sin \left (d x + c\right )\right )} \sqrt{e \cos \left (d x + c\right )}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*cos(d*x+c))^(3/2)*(a+a*sin(d*x+c))^4,x, algorithm="fricas")

[Out]

integral((a^4*e*cos(d*x + c)^5 - 8*a^4*e*cos(d*x + c)^3 + 8*a^4*e*cos(d*x + c) - 4*(a^4*e*cos(d*x + c)^3 - 2*a
^4*e*cos(d*x + c))*sin(d*x + c))*sqrt(e*cos(d*x + c)), x)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*cos(d*x+c))**(3/2)*(a+a*sin(d*x+c))**4,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (e \cos \left (d x + c\right )\right )^{\frac{3}{2}}{\left (a \sin \left (d x + c\right ) + a\right )}^{4}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*cos(d*x+c))^(3/2)*(a+a*sin(d*x+c))^4,x, algorithm="giac")

[Out]

integrate((e*cos(d*x + c))^(3/2)*(a*sin(d*x + c) + a)^4, x)